﻿@using Microsoft.AspNet.Identity
@using PortalWeb
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - 我的 ASP.NET 应用程序</title>
    <link href="~/Content/images/favicon.ico" rel="shortcut icon" type="image/x-icon">
    @Scripts.Render(BundleConfig.ModernizrPath)
    @Styles.Render(BundleConfig.BootstrapStylesPath,
        BundleConfig.FontAwesomeStylesPath,
        BundleConfig.BootstrapBagStylesPath,
        BundleConfig.ContentAdminCss)
    @Styles.Render("~/Areas/Admin/Content/member.css",
        "~/Areas/Admin/Content/theme.css")
    <link href="~/Content/ChatCore.css" rel="stylesheet"/>
    @RenderSection("styles", required: false)
</head>
<body >
<!-- Fixed navbar -->
<header class="navbar navbar-inverse navbar-fixed-top " role="navigation">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand brand " href="@Url.Action("Index", "Home", new {Area = ""})">
                <span class="first">Your</span> <span class="second">Company</span>
            </a>
        </div>
        <nav class="navbar-collapse collapse" role="navigation">
            @*<ul class="nav navbar-nav navbar-left">
                    <li class="dropdown">
                        @Html.Action("SimpleIndex", "Message", new { plugin = "Cms", area = "Admin", model = "Notice" })
                    </li>
                    <li class="dropdown">
                        @Html.Action("SimpleIndex", "Message", new { plugin = "Cms", area = "Admin", model = "Message" })
                    </li>
                    <li class="dropdown">
                        @Html.Action("SimpleIndex", "Message", new { plugin = "Cms", area = "Admin", model = "Alerts" })
                    </li>
                </ul>*@
            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a href="@Url.Action("About", "Home")" class="dropdown-toggle" data-toggle="dropdown">关于我们 <span class="caret"></span></a>
                    <ul class="dropdown-menu" role="menu">
                        <li>@Html.ActionLink("公司介绍", "About", "Home")</li>
                        <li>@Html.ActionLink("发展历程", "About", "Home")</li>
                        <li>@Html.ActionLink("企业文化", "About", "Home")</li>
                    </ul>
                </li>

                @Html.Partial("_AdminLoginPartial")
            </ul>
        </nav>
    </div>
</header>
@Html.Action("Navbar", "Function", new {Area = "Admin"})
<div class="page-content">
    @RenderBody()
</div>
<div class="modal fade" id="modalEdit" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content" id="modalEditContent">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">编辑</h4>
            </div>
            <div class="modal-body">
                Loading content...
            </div>
            <div class="modal-footer">
                <button class="btn" data-dismiss="modal" aria-hidden="true">取消</button>
            </div>
        </div>
    </div>
</div>
@Scripts.Render(BundleConfig.JqueryPath,
    BundleConfig.JqueryValPath,
    BundleConfig.SignalRPath,
    BundleConfig.BootstrapScriptsPath,
    BundleConfig.BootstrapBagScriptsPath)
@RenderSection("scripts", required: false)
<script src="~/Scripts/jquery.signalR-2.2.0.min.js"></script>
<script src="~/signalr/hubs"></script>
<script src="~/Scripts/layer/layer.min.js"></script>
<script type="text/javascript">
    //用户编号
    var userid = "@User.Identity.GetUserId()";
    //用户名
    var username = "@User.Identity.GetUserName()";
    //所属部门
    var deptname = "";
    //所属部门编号
    var deptid = "8888";
</script>
<script src="~/Scripts/ChatCore.js"></script>
</body>
</html>



